package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_lang_ya_light_reward", autoSave = true, desc = "长明灯奖励")
public class LogLangYaLightReward {

    @FieldTypeAnnotation(isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "长明灯id")
    private String lightList;

    @FieldTypeAnnotation(desc = "获得祭奠值")
    private int buildValue;

    @FieldTypeAnnotation(desc = "道具奖励")
    private String reward;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogLangYaLightReward(int activityId, long userId, String lightList, int buildValue, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.lightList = lightList;
        this.buildValue = buildValue;
        this.reward = reward;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getLightList() {
        return lightList;
    }

    public void setLightList(String lightList) {
        this.lightList = lightList;
    }

    public int getBuildValue() {
        return buildValue;
    }

    public void setBuildValue(int buildValue) {
        this.buildValue = buildValue;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
